package com.qfoud.edu.aunt.commons.exception;

import lombok.Data;

/**
 * @author xiaobobo
 * @title: BusinessException
 * @projectName cd-java-2303-project-parent
 * @description: TODO
 * @date 2023/5/11  9:28
 */
@Data
public class BusinessException extends RuntimeException {
    private Integer code;
    private String message;

    public BusinessException(Integer code,String message){
        super(message);
        this.code=code;
        this.message=message;
    }

}
